﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace dotUML.Core.Common.SequenceDiagram
{
    /// <summary>
    /// IConcurrent is an interface of a UML sequence diagram concurrent element.
    /// </summary>
    public interface IConcurrent : IDiagramElement
    {
        /// <summary>
        /// Lifeline which contains the concurrent.
        /// </summary>
        ILifeline TargetLifeline
        {
            get;
            set;
        }

        /// <summary>
        /// Messages contained by concurrent.
        /// </summary>
        List<IMessage> Messages
        {
            get;
            set;
        }
    }
}
